{% extends 'base.html' %}

{% block title %}
    部门管理
{% endblock %}

{% block head %}
        <!-- Bootstrap Core CSS -->
    <link href="/static/lib/sb-admin/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- MetisMenu CSS -->
    <link href="/static/lib/sb-admin/vendor/metisMenu/metisMenu.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="/static/lib/sb-admin/dist/css/sb-admin-2.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="/static/lib/sb-admin/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
{% endblock %}

{% block label %}
    <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">
                        部门管理
                        <a class="btn btn-default pull-right" href="/add_department/">添加</a>
                    </h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
{% endblock %}

{% block contenter %}
    <div class="row">
                <div class="col-lg-12">
                    <div class="row">
                        <table class="table">
                            <thead>
                            <tr>
                                <th>部门名称</th>
                                <th>部门描述</th>
                                <th>部门操作</th>
                            </tr>
                            </thead>
                            <tbody>

                            <tr>
                                <td class="col-lg-4">财务部</td>
                                <td class="col-lg-4">负责财务相关</td>
                                <td class="col-lg-4">
                                    <a class="btn btn-default" href="/edit_department/">编辑</a>
                                    <a class="btn btn-default" href="/department/">删除</a>
                                    <a class="btn btn-default" href="/position/">查看职位</a>
                                </td>
                            </tr>

                            <tr>
                                <td class="col-lg-4">技术部</td>
                                <td class="col-lg-4">负责技术相关</td>
                                <td class="col-lg-4">
                                    <a class="btn btn-default" href="#">编辑</a>
                                    <a class="btn btn-default" href="#">删除</a>
                                    <a class="btn btn-default" href="#">查看职位</a>
                                </td>
                            </tr>

                            <tr>
                                <td class="col-lg-4">市场部</td>
                                <td class="col-lg-4">负责市场相关</td>
                                <td class="col-lg-4">
                                    <a class="btn btn-default" href="#">编辑</a>
                                    <a class="btn btn-default" href="#">删除</a>
                                    <a class="btn btn-default" href="#">查看职位</a>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- /.col-lg-12 -->
            </div>
{% endblock %}
{% block body %}
<!-- jQuery -->
    <script src="/static/lib/sb-admin/vendor/jquery/jquery.min.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="/static/lib/sb-admin/vendor/bootstrap/js/bootstrap.min.js"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="/static/lib/sb-admin/vendor/metisMenu/metisMenu.min.js"></script>

    <!-- Custom Theme JavaScript -->
    <script src="/static/lib/sb-admin/dist/js/sb-admin-2.js"></script>
{% endblock %}